package com.smartwebx.ha.usebean;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.github.pagehelper.PageInfo;

@JsonIgnoreProperties({"list"})
public class TableData<T> extends PageInfo {
	private List<T> data;

	@SuppressWarnings("unchecked")
	public TableData(List<T> list) {
		super(list);
	 	data = this.getList();
	}
	
	public List<T> getData() {
		return data;
	}

	public void setData(List<T> data) {
		this.data = data;
	}
}
